﻿<Window x:Class="aerowan.pilot_client.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AeroWAN Pilot Client" Height="197" Width="370"
        xmlns:base="clr-namespace:aerowan.pilot_client"
        xmlns:conv="clr-namespace:aerowan.pilot_client.Converters"
        >
    <Window.Resources>
        <conv:IsConnectedToConnectButtonContentConverter x:Key="convConnectedToConnectBtn" />
    </Window.Resources>
    <Grid>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="82,14,0,0" Name="textBox1" VerticalAlignment="Top" Width="90" />
        <Label Content="Account ID" Height="24" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Password" Height="22" HorizontalAlignment="Left" Margin="178,12,0,0" Name="label2" VerticalAlignment="Top" Width="59" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="243,14,0,0" Name="textBox2" VerticalAlignment="Top" Width="90" />
        <Button Content="{Binding Connected, Source={x:Static base:ApplicationContext.Instance}, Converter={StaticResource convConnectedToConnectBtn}}" Height="23" HorizontalAlignment="Right" Margin="0,123,261,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <Label Content="Call Sign" Height="24" HorizontalAlignment="Left" Margin="12,42,0,0" Name="label3" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="70,43,0,0" Name="textBox3" VerticalAlignment="Top" Width="102" />
    </Grid>
</Window>
